// pages/merchanthome/index.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    storeInfo: {
      name: "静安一店",
      desc: "已和豌豆一起成长100天",
      shixun: "顾客一朵小红花喜签月嫂唐阿姨"
    },
    yuesaoList: [
      {
        icon: "../../images/img_photo1@3x.png",
        name: "杨冬梅",
        age: 28,
        workAge: 5
      },
      {
        icon: "../../images/img_photo2@3x.png",
        name: "阮方",
        age: 28,
        workAge: 5
      },
      {
        icon: "../../images/img_photo3@3x.png",
        name: "房娟",
        age: 28,
        workAge: 5
      }
    ],
    commentList: [
      {
        "searchValue": null,
        "createBy": "",
        "createTime": "2021-09-14 15:11:02",
        "updateBy": "",
        "updateTime": null,
        "remark": null,
        "shareNum": 20,
        "remarkNum": 17,
        "dianZanNum": 30,
        "params": {},
        "id": 1,
        "storeId": 1,
        "matronId": 25,
        "customerId": null,
        "customerName": "客户",
        "remarks": null,
        "tenantId": null,
        "content": "手艺:\r\n杨海英阿姐烧菜非常好吃。本来还怕月子餐单一无味。担心很多余。每天都吃两大碗饭\r\n专业度:\r\n非常耐心，照顾宝宝有条理还会耐心给我们新手妈妈爸爸解释原因非常专业。\r\n挑选经验:\r\n当时因为时间没有见到阿姐也没面试。但是看见照片就觉得亲切可靠。果然很好没有选错。月子里找个可靠的月嫂太重要了。双胎阿姐照顾的很好，让我舒心的坐月子。开奶和孩子的黄疸也一直有派人上门关注。感谢禾熹。谢谢杨阿姐。",
        "skillScore": 3,
        "yummySeriousScore": 3,
        "patientScore": 3,
        "guideScore": 3,
        "connectScore": 3,
        "score": 4,
        "pic": "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/1/11.jpeg,https://www.wandoujiejie.com:1032/profile/upload/comment-2022/1/12.jpeg,https://www.wandoujiejie.com:1032/profile/upload/comment-2022/1/13.jpeg,https://www.wandoujiejie.com:1032/profile/upload/comment-2022/1/14.jpeg,https://www.wandoujiejie.com:1032/profile/upload/comment-2022/1/15.jpeg,https://www.wandoujiejie.com:1032/profile/upload/comment-2022/1/16.jpeg",
        "picList": [
          "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/1/11.jpeg",
          "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/1/12.jpeg",
          "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/1/13.jpeg",
          "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/1/14.jpeg",
          "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/1/15.jpeg",
          "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/1/16.jpeg"
        ]
      },
      {
        "searchValue": null,
        "createBy": "",
        "createTime": "2021-09-15 10:42:19",
        "updateBy": "",
        "updateTime": null,
        "remark": null,
        "shareNum": 20,
        "remarkNum": 17,
        "dianZanNum": 30,
        "params": {},
        "id": 2,
        "storeId": 1,
        "matronId": 301,
        "customerId": null,
        "customerName": "匿名用户",
        "remarks": null,
        "tenantId": null,
        "content": "朱霞妮月嫂认真负责有耐心，我刚从医院回来的时候有点堵奶，宝宝吵闹不愿意喝母乳，导致我的情绪很低落，朱月嫂耐心疏导我的情绪，并帮我开奶。渐渐奶也通了，宝宝喝母乳也不吵闹了。朱月嫂做的月子餐也很好吃，会根据个人喜好调整菜单，做出符合产妇胃口又有营养的月子餐。平日里照顾宝宝也很周到。在下户前指导并教会我和家人们如何带宝宝，比如洗澡，抚触，换尿布，飞机抱等一系列事情。",
        "skillScore": 3,
        "yummySeriousScore": 3,
        "patientScore": 3,
        "guideScore": 3,
        "connectScore": 3,
        "score": 5,
        "pic": "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/2/11.jpeg,https://www.wandoujiejie.com:1032/profile/upload/comment-2022/2/12.jpeg,https://www.wandoujiejie.com:1032/profile/upload/comment-2022/2/13.jpeg,https://www.wandoujiejie.com:1032/profile/upload/comment-2022/2/14.jpeg",
        "picList": [
          "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/2/11.jpeg",
          "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/2/12.jpeg",
          "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/2/13.jpeg",
          "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/2/14.jpeg"
        ]
      },
      {
        "searchValue": null,
        "createBy": "",
        "createTime": "2021-09-14 15:11:02",
        "updateBy": "",
        "updateTime": null,
        "remark": null,
        "shareNum": 20,
        "remarkNum": 17,
        "dianZanNum": 30,
        "params": {},
        "id": 3,
        "storeId": 1,
        "matronId": 301,
        "customerId": 0,
        "customerName": "娜娜_Na",
        "remarks": "",
        "tenantId": 0,
        "content": "通过朋友介绍选择了禾熹甄选，原来预定的阿姨由于身体原因换成了九星的刘芹刘阿姨。刘阿姨第一天来就十分专业的整理、归类宝宝的各种用品，方便照顾宝宝时的拿取。由于我出院后就堵奶十分严重，刘阿姨立刻给我进行疏通，看我痛的受不了，刘阿姨不忍心，就先用包菜给我冷敷，消水肿，并帮我联系了她们公司的专业通乳师为我进行疏通按摩，第二天我的情况就好了很多。在照顾宝宝时，刘阿姨也十分有耐心，我家宝宝经常晚上哭闹不肯睡，刘阿姨就各种办法安抚、哄睡，十分辛苦。刘阿姨不仅专业到位，厨艺也了得，每天早上都会给我准备好丰富的早餐，并且摆盘也很好看，一看就很有食欲。距离刘阿姨下单没剩几天了，我们为了表达对她的谢意，特意为她定制了锦旗，以表示对她工作的肯定，以及对她的不舍。谢谢刘阿姨这段时间对宝宝的照顾，辛苦了~",
        "skillScore": 0,
        "yummySeriousScore": 0,
        "patientScore": 0,
        "guideScore": 0,
        "connectScore": 0,
        "score": 4,
        "pic": "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/3/11.jpeg,https://www.wandoujiejie.com:1032/profile/upload/comment-2022/3/12.jpeg,https://www.wandoujiejie.com:1032/profile/upload/comment-2022/3/13.jpeg,https://www.wandoujiejie.com:1032/profile/upload/comment-2022/3/14.jpeg,https://www.wandoujiejie.com:1032/profile/upload/comment-2022/3/15.jpeg,https://www.wandoujiejie.com:1032/profile/upload/comment-2022/3/16.jpeg\n",
        "picList": [
          "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/3/11.jpeg",
          "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/3/12.jpeg",
          "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/3/13.jpeg",
          "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/3/14.jpeg",
          "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/3/15.jpeg",
          "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/3/16.jpeg\n"
        ]
      },
      {
        "searchValue": null,
        "createBy": "",
        "createTime": "2021-09-14 15:11:02",
        "updateBy": "",
        "updateTime": null,
        "remark": null,
        "shareNum": 20,
        "remarkNum": 17,
        "dianZanNum": 30,
        "params": {},
        "id": 4,
        "storeId": 1,
        "matronId": 301,
        "customerId": 0,
        "customerName": "黄shirley",
        "remarks": "",
        "tenantId": 0,
        "content": "有缘遇上周海燕周阿姨，宝宝推迟10天出生，周阿姨特别守信用，推掉别的订单，等着宝宝出生大周阿姨护理宝宝特别细心，开奶通乳特别专业，对于新手爸妈来说，跟着阿姨学照顾宝宝帮助特别大，容易堵奶的乳房在周阿姨护理下也平安度过了月子期，希望以后也顺利通畅，可以多喂宝宝一段时间。月子餐，周阿姨也针对乳房情况自行调整。整个服务期间，相处的十分融洽，十分推荐。\n\n阿姨还有很多优点，阿姨下户后自己带娃很忙来不急一一表达了，真的感谢周阿姨。",
        "skillScore": 0,
        "yummySeriousScore": 0,
        "patientScore": 0,
        "guideScore": 0,
        "connectScore": 0,
        "score": 5,
        "pic": "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/4/11.jpeg,https://www.wandoujiejie.com:1032/profile/upload/comment-2022/4/12.jpeg,https://www.wandoujiejie.com:1032/profile/upload/comment-2022/4/13.jpeg,https://www.wandoujiejie.com:1032/profile/upload/comment-2022/4/14.jpeg,https://www.wandoujiejie.com:1032/profile/upload/comment-2022/4/15.jpeg,https://www.wandoujiejie.com:1032/profile/upload/comment-2022/4/16.jpeg\n",
        "picList": [
          "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/4/11.jpeg",
          "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/4/12.jpeg",
          "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/4/13.jpeg",
          "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/4/14.jpeg",
          "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/4/15.jpeg",
          "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/4/16.jpeg\n"
        ]
      },
      {
        "searchValue": null,
        "createBy": "",
        "createTime": "2021-09-14 15:11:02",
        "updateBy": "",
        "updateTime": null,
        "remark": null,
        "shareNum": 20,
        "remarkNum": 17,
        "dianZanNum": 30,
        "params": {},
        "id": 5,
        "storeId": 1,
        "matronId": 301,
        "customerId": 0,
        "customerName": "呆毛_小灰灰",
        "remarks": "",
        "tenantId": 0,
        "content": "家里宝宝927出生，在医院待了3天才回家，从医院回到家不知道该干什么还累的要死，多亏陈阿姨准备好一切，把宝宝和宝妈都照顾的很好。\n刚开始哺乳宝妈很容易堵奶，宝妈的复健、排恶露、伤口处理都是非常精细而繁杂的工作，同时宝妈情绪又很低落，陈阿姨帮忙开奶、护理宝妈还做心里建设，缓解了宝妈的痛苦和焦虑。\n陈阿姨能做一手好吃的川菜，还根据我们的口味进行了改良，家里人都吃的很舒服。\n宝宝衣服的洗晒，力所能及的家务陈阿姨也做的很棒，真的非常有幸能请到陈阿姨帮我们度过这艰难的时光！",
        "skillScore": 0,
        "yummySeriousScore": 0,
        "patientScore": 0,
        "guideScore": 0,
        "connectScore": 0,
        "score": 5,
        "pic": "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/5/11.jpeg,https://www.wandoujiejie.com:1032/profile/upload/comment-2022/5/12.jpeg\n",
        "picList": [
          "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/5/11.jpeg",
          "https://www.wandoujiejie.com:1032/profile/upload/comment-2022/5/12.jpeg\n"
        ]
      }
    ]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    const storeName = options.storeName || "静安一店"
    wx.setNavigationBarTitle({
      title: storeName,
    })
    
  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {
    
  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  },

  onShareMerchantHomeAction: function () {
    wx.showActionSheet({
      itemList: [],
    })
  },

  onClickCallAction: function () {
    wx.makePhoneCall({
      phoneNumber: "1388888888"
    })
  }

})